package com.gnerv.battle.boot.project.guard.service;

import com.gnerv.battle.boot.project.guard.model.bo.MonitorProjectBO;
import com.gnerv.battle.boot.project.guard.model.dto.MonitorProjectDTO;
import lombok.NonNull;

import java.util.List;

/**
 * @author Gnerv LiGen
 */
public interface MonitorProjectService {

    boolean create(@NonNull MonitorProjectBO monitorProjectBO);

    boolean deleteByUkId(@NonNull String ukId);

    boolean updateByUkId(@NonNull MonitorProjectBO monitorProjectBO);

    MonitorProjectDTO selectByUkId(@NonNull String ukId);

    List<MonitorProjectDTO> listByName(String name, Integer page, Integer size);
}
